<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------



// [ 应用入口文件 ]

// 定义应用目录
define('APP_PATH', __DIR__ . '/app/');

defined('ROOT_PATH') or define('ROOT_PATH', dirname(realpath(APP_PATH)) . DIRECTORY_SEPARATOR);

defined('EXTEND_PATH') or define('EXTEND_PATH', ROOT_PATH . 'core/extend' . DIRECTORY_SEPARATOR);
defined('VENDOR_PATH') or define('VENDOR_PATH', ROOT_PATH . 'core/vendor' . DIRECTORY_SEPARATOR);


// 加载框架引导文件
require __DIR__ . '/core/thinkphp/start.php';


// // 自动生成admin模块
// \think\Build::module('admin');

// // 自动生成admin模块
// \think\Build::module('common');
// 
// webadmin
// // 自动生成admin模块
// \think\Build::module('webadmin');

